package com.qf.aop;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * @author lixu
 */
public class MyAfterAdvice implements AfterReturningAdvice {


    @Override
    public void afterReturning(Object o, Method method, Object[] objects, Object o1) throws Throwable {
        ///System.out.println(method.getName());//saveUser
        System.out.println("后置处理");
        System.out.println("日志打印");
    }
}
